package com.kangyi.user.mapper;

import com.kangyi.entity.UserComplaintImg;
import com.kangyi.enumeration.OperationType;
import com.kangyi.user.annotation.AutoFill;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface UserComplaintImgMapper {

    @Insert("insert into user_complaint_img(user_complaint_id, image, sort, create_time, update_time, create_user, update_user) " +
            "values (#{userComplaintId},#{image},#{sort},#{createTime},#{updateTime},#{createUser},#{updateUser})")
    @AutoFill(value = OperationType.INSERT)
    void insertImage(UserComplaintImg build);
}
